package com.micro.shop.model;

import java.io.Serializable;

public class OrderPackage implements Serializable {
    /**
     * 
     * 表 : bestfenxiao_order_package
     * 对应字段 : package_id
     */
    private Integer packageId;

    /**
     * 店铺id
     * 表 : bestfenxiao_order_package
     * 对应字段 : store_id
     */
    private Integer storeId;

    /**
     * 订单id
     * 表 : bestfenxiao_order_package
     * 对应字段 : order_id
     */
    private Integer orderId;

    /**
     * 
     * 表 : bestfenxiao_order_package
     * 对应字段 : express_code
     */
    private String expressCode;

    /**
     * 快递公司
     * 表 : bestfenxiao_order_package
     * 对应字段 : express_company
     */
    private String expressCompany;

    /**
     * 快递单号
     * 表 : bestfenxiao_order_package
     * 对应字段 : express_no
     */
    private String expressNo;

    /**
     * 状态 0未发货 1已发货 2已到店 3已签收
     * 表 : bestfenxiao_order_package
     * 对应字段 : status
     */
    private Integer status;

    /**
     * 创建时间
     * 表 : bestfenxiao_order_package
     * 对应字段 : add_time
     */
    private Integer addTime;

    /**
     * 签收人
     * 表 : bestfenxiao_order_package
     * 对应字段 : sign_name
     */
    private String signName;

    /**
     * 签收时间
     * 表 : bestfenxiao_order_package
     * 对应字段 : sign_time
     */
    private Integer signTime;

    /**
     * 商品集合
     * 表 : bestfenxiao_order_package
     * 对应字段 : products
     */
    private String products;

    /**
     * 用户订单id
     * 表 : bestfenxiao_order_package
     * 对应字段 : user_order_id
     */
    private Integer userOrderId;

    /**
     * 门店id
     * 表 : bestfenxiao_order_package
     * 对应字段 : physical_id
     */
    private Integer physicalId;

    /**
     * 配送员id
     * 表 : bestfenxiao_order_package
     * 对应字段 : courier_id
     */
    private Integer courierId;

    /**
     * 订单商品集合
     * 表 : bestfenxiao_order_package
     * 对应字段 : order_products
     */
    private String orderProducts;

    /**
     * 配送员开始配送时间
     * 表 : bestfenxiao_order_package
     * 对应字段 : send_time
     */
    private Integer sendTime;

    /**
     * 配送员送达时间
     * 表 : bestfenxiao_order_package
     * 对应字段 : arrive_time
     */
    private Integer arriveTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table bestfenxiao_order_package
     *
     * @mbggenerated Mon Apr 23 22:23:43 CST 2018
     */
    private static final long serialVersionUID = 1L;

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.package_id：
     */
    public Integer getPackageId() {
        return packageId;
    }

    /**
     * set method 
     *
     * @param packageId  
     */
    public void setPackageId(Integer packageId) {
        this.packageId = packageId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.store_id：店铺id
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * set method 
     *
     * @param storeId  店铺id
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.order_id：订单id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * set method 
     *
     * @param orderId  订单id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.express_code：
     */
    public String getExpressCode() {
        return expressCode;
    }

    /**
     * set method 
     *
     * @param expressCode  
     */
    public void setExpressCode(String expressCode) {
        this.expressCode = expressCode == null ? null : expressCode.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.express_company：快递公司
     */
    public String getExpressCompany() {
        return expressCompany;
    }

    /**
     * set method 
     *
     * @param expressCompany  快递公司
     */
    public void setExpressCompany(String expressCompany) {
        this.expressCompany = expressCompany == null ? null : expressCompany.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.express_no：快递单号
     */
    public String getExpressNo() {
        return expressNo;
    }

    /**
     * set method 
     *
     * @param expressNo  快递单号
     */
    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo == null ? null : expressNo.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.status：状态 0未发货 1已发货 2已到店 3已签收
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * set method 
     *
     * @param status  状态 0未发货 1已发货 2已到店 3已签收
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.add_time：创建时间
     */
    public Integer getAddTime() {
        return addTime;
    }

    /**
     * set method 
     *
     * @param addTime  创建时间
     */
    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.sign_name：签收人
     */
    public String getSignName() {
        return signName;
    }

    /**
     * set method 
     *
     * @param signName  签收人
     */
    public void setSignName(String signName) {
        this.signName = signName == null ? null : signName.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.sign_time：签收时间
     */
    public Integer getSignTime() {
        return signTime;
    }

    /**
     * set method 
     *
     * @param signTime  签收时间
     */
    public void setSignTime(Integer signTime) {
        this.signTime = signTime;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.products：商品集合
     */
    public String getProducts() {
        return products;
    }

    /**
     * set method 
     *
     * @param products  商品集合
     */
    public void setProducts(String products) {
        this.products = products == null ? null : products.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.user_order_id：用户订单id
     */
    public Integer getUserOrderId() {
        return userOrderId;
    }

    /**
     * set method 
     *
     * @param userOrderId  用户订单id
     */
    public void setUserOrderId(Integer userOrderId) {
        this.userOrderId = userOrderId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.physical_id：门店id
     */
    public Integer getPhysicalId() {
        return physicalId;
    }

    /**
     * set method 
     *
     * @param physicalId  门店id
     */
    public void setPhysicalId(Integer physicalId) {
        this.physicalId = physicalId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.courier_id：配送员id
     */
    public Integer getCourierId() {
        return courierId;
    }

    /**
     * set method 
     *
     * @param courierId  配送员id
     */
    public void setCourierId(Integer courierId) {
        this.courierId = courierId;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.order_products：订单商品集合
     */
    public String getOrderProducts() {
        return orderProducts;
    }

    /**
     * set method 
     *
     * @param orderProducts  订单商品集合
     */
    public void setOrderProducts(String orderProducts) {
        this.orderProducts = orderProducts == null ? null : orderProducts.trim();
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.send_time：配送员开始配送时间
     */
    public Integer getSendTime() {
        return sendTime;
    }

    /**
     * set method 
     *
     * @param sendTime  配送员开始配送时间
     */
    public void setSendTime(Integer sendTime) {
        this.sendTime = sendTime;
    }

    /**
     * get method 
     *
     * @return bestfenxiao_order_package.arrive_time：配送员送达时间
     */
    public Integer getArriveTime() {
        return arriveTime;
    }

    /**
     * set method 
     *
     * @param arriveTime  配送员送达时间
     */
    public void setArriveTime(Integer arriveTime) {
        this.arriveTime = arriveTime;
    }

    /**
     *
     * @param that
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OrderPackage other = (OrderPackage) that;
        return (this.getPackageId() == null ? other.getPackageId() == null : this.getPackageId().equals(other.getPackageId()))
            && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getExpressCode() == null ? other.getExpressCode() == null : this.getExpressCode().equals(other.getExpressCode()))
            && (this.getExpressCompany() == null ? other.getExpressCompany() == null : this.getExpressCompany().equals(other.getExpressCompany()))
            && (this.getExpressNo() == null ? other.getExpressNo() == null : this.getExpressNo().equals(other.getExpressNo()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getSignName() == null ? other.getSignName() == null : this.getSignName().equals(other.getSignName()))
            && (this.getSignTime() == null ? other.getSignTime() == null : this.getSignTime().equals(other.getSignTime()))
            && (this.getProducts() == null ? other.getProducts() == null : this.getProducts().equals(other.getProducts()))
            && (this.getUserOrderId() == null ? other.getUserOrderId() == null : this.getUserOrderId().equals(other.getUserOrderId()))
            && (this.getPhysicalId() == null ? other.getPhysicalId() == null : this.getPhysicalId().equals(other.getPhysicalId()))
            && (this.getCourierId() == null ? other.getCourierId() == null : this.getCourierId().equals(other.getCourierId()))
            && (this.getOrderProducts() == null ? other.getOrderProducts() == null : this.getOrderProducts().equals(other.getOrderProducts()))
            && (this.getSendTime() == null ? other.getSendTime() == null : this.getSendTime().equals(other.getSendTime()))
            && (this.getArriveTime() == null ? other.getArriveTime() == null : this.getArriveTime().equals(other.getArriveTime()));
    }

    /**
     *
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPackageId() == null) ? 0 : getPackageId().hashCode());
        result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getExpressCode() == null) ? 0 : getExpressCode().hashCode());
        result = prime * result + ((getExpressCompany() == null) ? 0 : getExpressCompany().hashCode());
        result = prime * result + ((getExpressNo() == null) ? 0 : getExpressNo().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getSignName() == null) ? 0 : getSignName().hashCode());
        result = prime * result + ((getSignTime() == null) ? 0 : getSignTime().hashCode());
        result = prime * result + ((getProducts() == null) ? 0 : getProducts().hashCode());
        result = prime * result + ((getUserOrderId() == null) ? 0 : getUserOrderId().hashCode());
        result = prime * result + ((getPhysicalId() == null) ? 0 : getPhysicalId().hashCode());
        result = prime * result + ((getCourierId() == null) ? 0 : getCourierId().hashCode());
        result = prime * result + ((getOrderProducts() == null) ? 0 : getOrderProducts().hashCode());
        result = prime * result + ((getSendTime() == null) ? 0 : getSendTime().hashCode());
        result = prime * result + ((getArriveTime() == null) ? 0 : getArriveTime().hashCode());
        return result;
    }
}